/* Standard Header und Navigation */
header {
    top: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    background-color: #222;
    z-index: 99999;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 66px;
    margin-top: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  	font-weight: 600;
}

/* Burger Menu Styling */
.burger {
    display: none; /* Burger-Menü wird standardmäßig ausgeblendet (Desktop) */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    margin-right: 25px;
}

.burger div {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Burger Animation für das X-Symbol */
.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-7px, 7px);
}

.burger.toggle .line2 {
    opacity: 0;
}

  span{
  	color: #e84c43
  }

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Styling */
.mobile-nav {
    display: none;  /* Standardmäßig ausgeblendet */
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 10px;
    background-color: #333;
    width: 200px;
    padding: 20px;
    border-radius: 8px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 0;
    font-size: 18px;
    border-bottom: 1px solid #444;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Sichtbar, wenn .mobile-nav-active hinzugefügt wird */
.mobile-nav-active {
    position: fixed;
    z-index: 9999999;
    display: flex; /* Zeigt die Navigation an, wenn die Klasse hinzugefügt wird */
}

/* Media Queries für Tablets und Handys */
@media (max-width: 768px) {
    header{
        justify-content: flex-end;
    }
    nav {
        display: none; /* Verstecke das Standard-Navigationsmenü auf Tablets und Handys */
    }

    .burger {
        display: flex; /* Zeige das Burger-Menü auf mobilen Geräten */
    }
}

/* Bei Bildschirmbreiten über 768px wird das normale Menü wieder angezeigt */
@media (min-width: 769px) {
    nav {
        display: flex; /* Zeige das Standard-Navigationsmenü */
    }

    .mobile-nav {
        display: none; /* Verstecke die mobile Navigation */
    }

    .burger {
        display: none; /* Verstecke das Burger-Menü */
    }
}


